﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using RPSImporter.Infrastructure;

namespace RPSImporter.Models.Settings
{
   public class HierarchyFileSettings : IFileSettings
   {
      [Key]
      [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
      public int ID { get; set; }

      [StringLength(100)]
      [Display(Name = "Nom")]
      public string Name { get; set; }

      [StringLength(100)]
      [Display(Name = "Code unique")]
      public string Code { get; set; }

      [StringLength(100)]
      [Display(Name = "Code unique parent")]
      public string CodeParent { get; set; }

      [StringLength(100)]
      [Display(Name = "Department")]
      public string Department { get; set; }

      [StringLength(100)]
      [Display(Name = "Sector")]
      public string Sector { get; set; }

      [StringLength(100)]
      [Display(Name = "Company")]
      public string Company { get; set; }

      [StringLength(100)]
      [Display(Name = "Enterprise")]
      public string Enterprise { get; set; }
   }
}